﻿using System;

namespace Vision.Core.Entities.Scheduling
{
    /// <summary>
    /// 
    /// </summary>
    [Flags]    
    public enum ScheduleTypes
    {        
        Daily = 4,
        Weekly = 8,
        Monthly = 16
    }

    /// <summary>
    /// 
    /// </summary>
    [Flags]
    public enum ScheduleWeekDays
    {
        None = 0,
        Monday = 1,
        Tuesday = 2,
        Wednesday = 4,
        Thursday = 8,
        Friday = 16,
        Saturday = 32,
        Sunday = 64,
        //Week = Monday | Tuesday | Wednesday | Thursday | Friday | Saturday | Sunday,
        //WorkWeek = Monday | Tuesday | Wednesday | Thursday | Friday,
    }

    /// <summary>
    /// 
    /// </summary>
    [Flags]
    public enum ScheduleMonths
    {
        None = 0,
        Jan = 1,
        Feb = 2,
        Mar = 4,
        Apr = 8,
        May = 16,
        Jun = 32,
        Jul = 64,
        Aug = 128,
        Sep = 256,
        Oct = 512,
        Nov = 1024,
        Dec = 2048
    }

    /// <summary>
    /// 
    /// </summary>
    [Flags]
    public enum ScheduleRunOnDayOccurences
    {
        None = 0,
        First = 1,
        Second = 2,
        Third = 4,
        Fourth = 8,
        Last = 128
    }        
}
